<template>
	<div class="parent">
		父组件
	<Child>
		<p>我是插槽1</p>
		<p slot="s2">我是插槽2</p>
		<p slot="s3" slot-scope="props">{{props.text}}</p>
	</Child>
	</div>
</template>

<script>
	import Child from './child'
	export default{
		name:"parent",
		data(){
			return{
	
			}
		},
		components:{
			Child
		},
		methods:{
	
		}
	}
</script>

<style>
</style>
